package ve.com.ucv.changedetection.objects;

import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: josmaguirre
 * Date: 30/09/13
 * Time: 13:41
 * To change this template use File | Settings | File Templates.
 */
public class TransformedSite {
    String siteName;
    ArrayList<TransformedWebPage> webPagesList;
    String timestamp;

    public TransformedSite(){
        this.siteName = null;
        this.webPagesList = null;
        timestamp = null;
    }

    public TransformedSite(String siteName, ArrayList<TransformedWebPage> webPageList, String timestamp){
        this.siteName = siteName;
        this.webPagesList = webPageList;
        this.timestamp = timestamp;
    }

    public TransformedWebPage getPage(int index) {
        return this.webPagesList.get(index);
    }

    public void addTrasformedWebpage(TransformedWebPage webPage){
        this.webPagesList.add(webPage);
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public ArrayList<TransformedWebPage> getWebPagesList() {
        return webPagesList;
    }

    public void setWebPagesList(ArrayList<TransformedWebPage> webPagesList) {
        this.webPagesList = webPagesList;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }
}
